﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hp.Vertica.Client.Internal;

namespace Hp.Vertica.Client
{
    static class ApplicationData
    {
        private static VerticaDatabase _currentDatabase;
        public static VerticaDatabase CurrentDatabase
        {
            get
            {
                if (_currentDatabase == null)
                {
                    _currentDatabase = new VerticaDatabase();
                    _currentDatabase.Host = "16.157.133.192";
                    _currentDatabase.User = "vertica";
                    _currentDatabase.Password = "openview";
                    _currentDatabase.Database = "xs";
                }
                return _currentDatabase;
            }
            set
            {
                _currentDatabase = value;
            }
        }
    }
}
